package com.elysia.entity.dto;

import com.elysia.entity.Menu;
import lombok.Data;

import java.util.List;

/**
 * User包装类
 * 接收前端登陆请求的参数
 */
@Data
public class UserDto{
    private String username;
    private String password;
    private String nickname;
    private String avatarUrl;

    private String token;

    private String role;
    private List<Menu> menus;
}
